home *** CD-ROM | disk | FTP | other *** search
/ Clickx 13 / Clickx 13.iso / pc / start.exe / start.dxr / 00019_linkURL.ls < prev    next >
Encoding:
Text File  |  2001-04-17  |  501 b   |  20 lines

  1. on mouseWithin me
  2.   global URL
  3.   customCursor = [member("finger"), member("fingerMatte")]
  4.   memNum = the memberNum of sprite me.spriteNum
  5.   URL = member(memNum, "URL").text
  6.   if (URL > 0) and (the mouseChar > 0) and (the mouseChar < the number of chars in URL) then
  7.     set the cursor of sprite the spriteNum of me to customCursor
  8.   else
  9.     set the cursor of sprite the spriteNum of me to 0
  10.   end if
  11.   updateStage()
  12. end
  13.  
  14. on mouseUp me
  15.   global URL
  16.   if URL > 0 then
  17.     gotoNetPage(URL)
  18.   end if
  19. end
  20.